﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Business_Objects;
namespace Data_Objects
{
   public interface IStudentDao
    {
        IList<Student> GetStudent();

        //  IList<Student> GetStudent(string columnSort, string sortType);

        Student GetStudentByID(string  StudentID);

        void InsertStudent(Student Student);

        int UpdateStudent(Student Student);

        int DeleteStudent(Student Student);
       List<Student> GetStudentBySchoolId(int schoolId);
       List<Student> GetStudentByClassIdAndSchoolID(int schoolId,string classId);
       List<Student> GetStudentBySchoolIdAndSchoolYear(string SchoolYearID, int schoolId);
       List<Student> GetStudentBySchoolIdAndSchoolYearNotClass(string SchoolYearID, int schoolId);

       List<Student> GetStudentBySchoolIdAndSchoolYearClass(string SchoolYearID, int schoolId, string classId); 
    }
}
